package com.yunchao.library.socket.constants

object Errors {
    const val INVALID_ERROR_BYTES = "Invalid error bytes length"
    const val INVALID_ERROR_LENGTH = "Invalid error length"
    const val INVALID_STRING_LENGTH = "Invalid string length"
    const val INVALID_BYTE_ARRAY_LENGTH = "Invalid byte array length"
    const val INVALID_SESSION = "Session must be 0-255"
    const val INVALID_ID_HIGH_BIT = "ID最高位必须为0"
    const val INVALID_FRAGMENT_HIGH_BIT = "Fragment最高位必须为0"
    const val INVALID_LEVEL = "Invalid error level"
    const val INVALID_ACTION = "Invalid power action"
    const val INVALID_FLAGS = "Invalid flags format"
    const val INVALID_FLAGS_POWER_ON = "Invalid flags for POWER_ON"
    const val INVALID_FLAGS_POWER_OFF = "Invalid flags for POWER_OFF"
    const val INVALID_ATR_LENGTH = "ATR length must be 1-32 bytes"
    const val INVALID_DEVICE_ID = "Device ID cannot be blank"
    const val INVALID_VERSION = "Version cannot be blank"
    const val STRING_TOO_LONG = "String too long"
    const val DETAILS_TOO_LONG = "Details length exceeds maximum"
    const val INVALID_SESSION_TYPE = "Invalid session type"
}